/**
 * Tractus-X -  Digital Product Pass Application
 *
 * Copyright (c) 2022, 2024 BMW AG
 * Copyright (c) 2022, 2024 Henkel AG & Co. KGaA
 * Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
 * Copyright (c) 2023, 2024 Contributors to the Eclipse Foundation
 *
 * See the NOTICE file(s) distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Apache License, Version 2.0 which is available at
 * https://www.apache.org/licenses/LICENSE-2.0.
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
 * either express or implied. See the
 * License for the specific language govern in permissions and limitations
 * under the License.
 *
 * SPDX-License-Identifier: Apache-2.0
 */

.footer-content {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: row;
  min-height: 48px;
  width: 94%;
  text-align: center;
  margin: 0 40px;
  justify-content: flex-start;
  align-items: flex-start;

  .links {
    display: flex;
    width: 60%;
    justify-content: flex-start;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: auto;
    padding: 10px 0;
  }

  a {
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.42857;
    letter-spacing: 0px;
    margin: 0px 7px;
    cursor: pointer;
    color: #5a5d57;
  }

  a:hover {
    color: $catena-x-dark-blue;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
      box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
      color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  }

  #version {
    font-size: 12px !important;
  }

  .copyright-container {
    display: flex;
    justify-content: flex-end;
    width: 40%;
    .copyright {
      padding: 14px 0;
      font-size: 11px;
      font-size: 11px;
      font-weight: 600;
      color: #5a5d57;
      padding-bottom: 24px;
    }
  }
}

@media (max-width: 1020px) {
  .footer-content {
    position: relative;
    margin: 0;
    flex-direction: column;
    align-items: center;

    .links {
      margin-left: auto;
      width: auto;
    }
  }
}
// @media (max-width: 900px) {
//   .footer-content {
//     position: relative;
//     margin: 0;
//   }
// }
@media (max-width: 585px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    width: 100%;
    .links {
      margin-top: 15px;
      margin-left: auto;
      flex-direction: column;
    }
    a {
      line-height: 3.42857;
    }
  }
}
